package com.huimingpay.merchant.convert;

import com.huimingpay.merchant.dto.MerchantDTO;
import com.huimingpay.merchant.vo.MerchantDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 将商户资质申请vo和dto进行转换
 * Created by Administrator.
 */
@Mapper
public interface MerchantDetailConvert {
    MerchantDetailConvert INSTANCE = Mappers.getMapper(MerchantDetailConvert.class);

    MerchantDetailVO DtoToVo(MerchantDTO merchantDTO);

    MerchantDTO VoToDto(MerchantDetailVO merchantDetailVO);
}
